<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR" import="java.util.*,model.adminMemberVO;"%>
<%
request.setCharacterEncoding("KSC5601");
String adminName ="";
String adminPw = "";
String adminkey = "";

@SuppressWarnings("unchecked")
List<adminMemberVO> admin =  (List<adminMemberVO>)session.getAttribute("admin");
if(admin == null){
	response.sendRedirect("adminLogin.delta");
}else
for(adminMemberVO vo : admin){
	adminName = vo.getAdmin_name();
	adminPw = vo.getAdmin_password();
	adminkey = vo.getKey();
	
	//out.println(adminkey);
	
	if(adminName.equals("")){
		response.sendRedirect("adminLogin.delta");
	}
}

%>